2738596877a0e4aae0a74695258fd601a154cdad,api/buildcraft/api/recipes/IntegrationRecipe.java,IntegrationRecipe,IntegrationRecipe,#NBTTagCompound#,26
Before Change
public IntegrationRecipe(NBTTagCompound nbt) {
requiredMicroJoules = nbt.getLong("required_micro_joules");
target = ItemStack.loadItemStackFromNBT(nbt.getCompoundTag("target"));
NBTTagList toIntegrateTag = nbt.getTagList("to_integrate", Constants.NBT.TAG_COMPOUND);
ItemStack[] toIntegrateArray = new ItemStack[toIntegrateTag.tagCount()];
for(int i = 0; i < toIntegrateArray.length; i++) {
toIntegrateArray[i] = ItemStack.loadItemStackFromNBT(toIntegrateTag.getCompoundTagAt(i));
}
toIntegrate = ImmutableList.copyOf(toIntegrateArray);
output = ItemStack.loadItemStackFromNBT(nbt.getCompoundTag("output"));
}
public IntegrationRecipe(PacketBuffer buffer) throws IOException {
After Change
public IntegrationRecipe(NBTTagCompound nbt) {
requiredMicroJoules = nbt.getLong("required_micro_joules");
target = new ItemStack(nbt.getCompoundTag("target"));
NBTTagList toIntegrateTag = nbt.getTagList("to_integrate", Constants.NBT.TAG_COMPOUND);
toIntegrate = NonNullList.withSize(toIntegrateTag.tagCount(), ItemStack.EMPTY);
for (int i = 0; i < toIntegrateTag.tagCount(); i++) {